<template>
  <div>
    <el-menu
      default-active="/back/staffNav"
      class="el-menu-vertical-demo"
      @open="handleOpen"
      @close="handleClose"
      background-color="#204051"
      text-color="#fff"
      active-text-color="#ffd04b"
      router
    >
      <el-menu-item index="/back/staffNav">
        <i class="el-icon-s-custom"></i>
        <span slot="title">员工管理</span>
      </el-menu-item>
      <el-menu-item index="/back/cuisineNav">
        <i class="el-icon-menu"></i>
        <span slot="title">菜品管理</span>
      </el-menu-item>
      <el-menu-item index="/back/consumablNav">
        <i class="el-icon-s-claim"></i>
        <span slot="title">消耗品管理</span>
      </el-menu-item>
      <el-menu-item index="/back/operationNav">
        <i class="el-icon-s-shop"></i>
        <span slot="title">运营管理</span>
      </el-menu-item>
      <el-menu-item index="/back/moneyNav">
        <i class="el-icon-s-marketing"></i>
        <span slot="title">财务分析</span>
      </el-menu-item>
      <el-menu-item index="/back/systemNav">
        <i class="el-icon-s-tools"></i>
        <span slot="title">系统管理</span>
      </el-menu-item>
      
    </el-menu>
  </div>
</template>

<script>
export default {
  name: "superAdminNav",
  methods: {
    handleOpen(key, keyPath) {
      console.log(key, keyPath);
    },
    handleClose(key, keyPath) {
      console.log(key, keyPath);
    }
  }
};
</script>

<style scoped>
</style>